package com.hzncc.flowable_diboot.custom_field.entity.customfields;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.lang.Double;
import java.math.BigDecimal;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.diboot.core.util.D;
import com.diboot.core.entity.BaseModel;
import com.diboot.core.entity.BaseEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 字段显示配置 Entity 定义
* @author MyName
* @version 1.0
* @date 2024-11-20
* Copyright © MyCorp
*/
@TableName("mdl_table_field_show_config")
@Getter @Setter @Accessors(chain = true)
public class TableFieldShowConfig extends BaseModel {
    private static final long serialVersionUID = 1192172992686517968L;
     /**
     * 租户
     */
     @NotNull(message = "租户不能为空")
     @TableField()
     private String tenantId;

     /**
     * 用户id
     */
     @Length(max=32, message="用户id长度应小于32")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String userId;

     /**
     * 表格编码
     */
     @Length(max=50, message="表格编码长度应小于50")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String tableCode;

     /**
     * 自定义表格id
     */
     @Length(max=32, message="自定义表格id长度应小于32")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String customTableConfigId;


}